package com.qidian.mes.dv.service;

import com.qidian.mes.pojo.dv.Subject;
import com.qidian.mes.util.pojo.MESResult;

/**
 * @Author 迄氺(甄闯)
 * @Company 空白
 * @Time 2023/10/28 14:26
 * @Description
 */

public interface SubjectService {
    /**
     *
     * @param subjectId
     * @return
     */
    MESResult selectBySubject(Long subjectId);

    /**
     * 保存设备保养计划,名字不能重复
     * @param subject
     * @return
     */
    MESResult save(Subject subject);

    MESResult queryByPage(Subject subject,int page,int limit);


    MESResult update(Subject subject);
    MESResult deleteById(Long subjectId);
}
